package com.quick.develop.business.convert;

import com.quick.develop.business.entity.EnvironmentalEmergencyEntity;
import com.quick.develop.business.vo.EnvironmentalEmergencyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 环境应急预案
*
* @author GJH 1906559468@qq.com
* @since 1.0.0 2024-01-27
*/
@Mapper
public interface EnvironmentalEmergencyConvert {
    EnvironmentalEmergencyConvert INSTANCE = Mappers.getMapper(EnvironmentalEmergencyConvert.class);

    EnvironmentalEmergencyEntity convert(EnvironmentalEmergencyVO vo);

    EnvironmentalEmergencyVO convert(EnvironmentalEmergencyEntity entity);

    List<EnvironmentalEmergencyVO> convertList(List<EnvironmentalEmergencyEntity> list);

}